const mongoose = require('mongoose')

//创建文档结构对象
let ArticleCateSchema = new mongoose.Schema({
    name: {
        type: String,
        required: true
    },
    alias: {
        type: String,
        required: true
    },
    is_delete:{
        type:Number,
        default:0
    }
})

let ArticleCateModel = mongoose.model('cates', ArticleCateSchema);

module.exports = ArticleCateModel